﻿using Domain.Entities;
using FrameworkCore.Attributes;
using System.ComponentModel.DataAnnotations;

namespace AiBLSmartEdu.Module.SmartDictionaries.API.DTOs;

#nullable disable

/// <summary>
/// 词语
/// </summary>
[Map(typeof(ChineseDictionary))]
public class ChineseDictionaryCreateInputModel
{
    /// <summary>
    /// 词语
    /// </summary>
    [Required(ErrorMessage = "词语是必填项。")]
    public string Word { get; set; }
}